home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat4 / syms.z / syms
Encoding:
Text File  |  1998-10-30  |  2.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4. SSSSYYYYMMMMSSSS((((4444))))                                                                SSSSYYYYMMMMSSSS((((4444))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      syms - MIPS symbol table
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyymmmm....hhhh>>>>
  13.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyymmmmccccoooonnnnsssstttt....hhhh>>>>
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      The following information applies to the IRIX 4 COFF symbol table and,
  17.      for now, the ....mmmmddddeeeebbbbuuuugggg section found in 32-bit objects on IRIX 6.  In a
  18.      future IRIX release, the ....mmmmddddeeeebbbbuuuugggg section will be replaced.
  19.  
  20.      The MIPS symbol table departs from the standard COFF symbol table. The
  21.      symbol table consists of many tables unbundling information usually found
  22.      in the one COFF symbol table.  The symbol table should be viewed as a
  23.      hand-crafted, network-style database designed for space and access
  24.      efficiency.
  25.  
  26.      The following structures or tables appear in the MIPS symbol table:
  27.  
  28.      TABLE                  CONTENTS
  29.      symbolic header        sizes and locations of all other tables.
  30.      file descriptors       per file locations for other tables.
  31.      procedure descriptors  frame info and location of procedure info.
  32.      local symbols          local type, local variable, and scoping info.
  33.      local strings          string space for local symbols.
  34.      line numbers           compacted by encoding, contains a line per instruction.
  35.      relative file desc.    indirection for inter-file symbol access.
  36.      optimization symbols   to be defined.
  37.      auxiliary symbols      variable data type info for each local symbol.
  38.      external symbols       loader symbols (global text and data).
  39.      external strings       string space for external symbols.
  40.      dense numbers          (file, symbol) index pairs for compiler use.
  41.  
  42.      External and local symbols contain the standard concept of  a  ``symbol''
  43.      as follows:
  44.  
  45.         struct
  46.         {
  47.           long     iss;       /* index into string space */
  48.           long     value;     /* addr, size, etc., depends on sc & st */
  49.           unsigned st: 6;     /* symbol type (e.g. local, param, etc.) */
  50.           unsigned sc: 5;     /* storage class (e.g. text, bss, etc.) */
  51.           unsigned reserved: 1;
  52.           unsigned index: 20; /* index into symbol or auxiliary table */
  53.         };
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.